FROM envoyproxy/envoy:latest

WORKDIR /app

ADD . /app

RUN cp /app/start_service.sh /usr/local/bin/start_service.sh \
 && cp /app/service-envoy.yaml /etc/service-envoy.yaml \
 && chmod u+x /usr/local/bin/start_service.sh

ENTRYPOINT /usr/local/bin/start_service.sh
